package ua.org.cityid.client.actions;

import net.customware.gwt.dispatch.shared.Action;

public class GetCities implements Action<GetCitiesResult>{
	private static final long serialVersionUID = 9029165319755917312L;
	private int regionId = 0;
	private int startFrom = 0;
	private int maxItems = 0;
	
	
	public GetCities(){}
	public GetCities(int regionId, int startFrom, int maxItems){
		setRegionId(regionId);
		setStartFrom(startFrom);
		setMaxItems(maxItems);
	}
	public void setRegionId(int regionId) {
		this.regionId = regionId;
	}
	public int getRegionId() {
		return regionId;
	}
	public void setStartFrom(int startFrom) {
		this.startFrom = startFrom;
	}
	public int getStartFrom() {
		return startFrom;
	}
	public void setMaxItems(int maxItems) {
		this.maxItems = maxItems;
	}
	public int getMaxItems() {
		return maxItems;
	}
	
	
}
